<?
class Post
{
   private $title;
   private $content;
   // Miejsce na waciwoci dodatkowe.
   public function filter()
   {
      // Miejsce na kod przetwarzajcy dane.
      $this->content = $filtered_content;
      $this->title = $filtered_title;
   }
   public function getContent()
   {
      return $this->content;
   }
   // Miejsce na metody dodatkowe.
}
?>
<?
class Comment
{
   private $date;
   private $content;
   // Miejsce na waciwoci dodatkowe.
   public function filter()
   {
      // Miejsce na kod przetwarzajcy dane.
      $this->content = $filtered_content;
   }
   public function getContent()
   {
      return $this->content;
   }
   // Miejsce na metody dodatkowe.
}
?>
